import { post } from '@/utils/request'
import domain from '@/utils/domain'

// 项目列表
export function pros(data) { return post({ url: domain.mng + '/statistics/pros', data }) }
// 项目总金额
export function proTotalAmount(data) { return post({ url: domain.mng + '/statistics/proTotalAmount', data }) }
// 采购列表
export function purchases(data) { return post({ url: domain.mng + '/statistics/purchases', data }) }
// 采购总金额
export function purchaseTotalAmount(data) { return post({ url: domain.mng + '/statistics/purchaseTotalAmount', data }) }
// 预算成本列表
export function bcwp(data) { return post({ url: domain.mng + '/statistics/bcwp', data }) }
// 预算成本总比例
export function bcwpRatio(data) { return post({ url: domain.mng + '/statistics/bcwpRatio', data }) }

// 应收汇总
export function receivables(data) { return post({ url: domain.mng + '/financeStatistics/receivables', data }) }
// 应付汇总
export function payables(data) { return post({ url: domain.mng + '/financeStatistics/payables', data }) }
// 应付汇总详情
export function payableInfos(data) { return post({ url: domain.mng + '/financeStatistics/payableInfos', data }) }
// 资金日报表
export function fundDay(data) { return post({ url: domain.mng + '/financeStatistics/fundDay', data }) }
// 报销汇总
export function reimbursements(data) { return post({ url: domain.mng + '/financeStatistics/reimbursements', data }) }
// 销项发票
export function outputInvoice(data) { return post({ url: domain.mng + '/financeStatistics/outputInvoice', data }) }
// 进项发票
export function inputInvoice(data) { return post({ url: domain.mng + '/financeStatistics/inputInvoice', data }) }
// 汇总
export function summary(data) { return post({ url: domain.mng + '/financeStatistics/summary', data }) }
